package com.tinyspot.concrete.feign.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "concrete-eureka-client", fallback = AdminServiceHystrix.class)
public interface AdminService {
    @RequestMapping("/show")
    String invoke(@RequestParam(value = "message") String message);
}
